﻿﻿<%@page import="java.util.*" %>
<%
	if(session.getAttribute("hotelId") == null ){
		response.sendRedirect("/index.jsp");
		return;
	}
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>POS | Eem tech soft</title>
<link href="/css/custom/jquery-ui-1.9.1.custom.min.css" rel="stylesheet" />
<link href="/css/custom/loading.css" rel="stylesheet" />
<link href="/css/components/front.css" rel="stylesheet" />
<link href="/css/popup.css" rel="stylesheet" />
<link href="/css/numpad.css" rel="stylesheet" />
<link href="/css/POS/posTappage/style.css" rel="stylesheet" />
<link href="/css/main.css" rel="stylesheet" />
<link href="/css/POS/main.css" rel="stylesheet" />
<link href="/css/Adminconsole/dialog.css" rel="stylesheet" />

<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery-ui-1.9.1.custom.min.js"></script>
<script src="/js/sharedData.js"></script>
<script src="/js/simpleservice.js"></script>
<script src="/js/loading.js"></script>
<script src="/js/components/selectDropDown.js"></script>
<script src="/js/POS/serviceData.js"></script>
<script src="/js/POS/SharedData.js"></script>
<script src="/js/POS/tabpage.js"></script>
<script src="/js/POS/TapContent/tapTable.js"></script>
<script src="/js/POS/editPosTable/editPosTable.js"></script>
<script src="/js/numpad.min.js"></script>
<script src="/js/pointerDialog.js"></script>
<script src="/js/pointerRightClickDialog.js"></script>
<script src="/js/POS/PosTableBlock/moveResTable.js"></script>
<script src="/js/POS/ConfirmOrderPage/ConfirmOrderPage.js"></script>
<script>
$(function(){
	SharedData.posId = <%= request.getParameter("posId")%>;
	SharedData.posTitle = "<%=request.getParameter("posTitle")%>";
	loadSharedData();
	arrangeTab();
	tabInit();
});

$(window).resize(function(){
	autoResizeElement();
})

</script>
</head>

<body>
	<!-- don't remove this path -->
	<jsp:include page="./language.jsp" flush="true"/>	
	<!-- don't remove this path -->
	<div id="BlankDialog" style="display:none; padding:5px 0 0 10px;"></div>
	<div id="loadingScreen"></div>
	<div>
		<jsp:include page="header.jsp" flush="true"/>
	</div>
	<div name="leftMenu" class="leftMenuList">
		<jsp:include page="PosleftMenu.jsp" flush="true"/>
	</div>
	<div name="taskList" class="tasklist">
	<div class="taskListhead">
			<span class="taskimagemargin index_icon taskList_icon_1"></span>
			<span class="tasktextpadding"><%out.print(resource.getString("POS.index.leftMenu.taskList"));%></span>
			<span class="leftmenu_close_icon tasklist_icon_close taskListcloseicconmargin" onClick="OpenPosTaskList()"></span>
	</div>
	<div class="taskListbody"></div>
	<div class="taskListhead"></div>
	</div>
	<div name="Block">
		<jsp:include page="posTappage.jsp" flush="true"/>
		<div name="AllTable">
			<jsp:include page="TapContent.jsp" flush="true"/>
			<jsp:include page="PosTable.jsp" flush="true"/>
		</div>
		<div for="pageload" style="display:none;"></div>
		<!-- Table -->
	</div>
	<div name="dynamic" style="display:none"></div>
</body>
</html>